<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<ui:composition template="/WEB-INF/templates/template.xhtml">

	<ui:define name="content">

		<h:form prependId="false">

			<h:outputText
				value="#{settingManagedBean.rfcName} v.#{settingManagedBean.rfcVersion} (#{settingManagedBean.today})">
				<f:convertDateTime pattern="full" type="date" />
			</h:outputText>
			<p />
			<p:commandButton value="Get Status"
				actionListener="#{rfcStatusController.getStatus}" update="msgs" />
			<p:commandButton value="Stop"
				actionListener="#{rfcStatusController.stopRfc}" update="msgs" />
			<p:commandButton value="Restart"
				actionListener="#{rfcStatusController.restartRfc}" update="msgs" />
			<p />
			<p:commandButton value="Create TestOrder"
				actionListener="#{rfcStatusController.createDemoOrder}"
				update="msgs" />
			<p:commandButton value="Remove TestOrder"
				actionListener="#{rfcStatusController.deleteDemoOrder}"
				update="msgs" />
			<p:commandButton value="Status TestOrder"
				actionListener="#{rfcStatusController.getDemoOrderStatus}"
				update="msgs" />
			<p:messages id="msgs" showDetail="true" />
		</h:form>



	</ui:define>

</ui:composition>
</html>